import request from '@/utils/request'
//登录 请求
export function login(data) {
  return request({
    url: '/user/login.do',
    method: 'post',
    data
  })
}
// 注销登录
export function logout(data) {
  return request({
    url: 'user/loginout.do?token='+data
  })
}
